package edu.hubu.talentmanagementsystem.model.ext;


import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableField;
import edu.hubu.talentmanagementsystem.model.Model;

import java.io.Serializable;

/**
 * <p>
 * 日志表
 * </p>
 *
 * @author moonlan
 * @since 2021-03-13
 */
@TableName("blog_comment")
public class BlogComment extends Model<BlogComment> implements Serializable {


    /**
     * 日志评论ID
     */
    @TableId(value = "blog_comment_id", type = IdType.AUTO)
    private Integer blogCommentId;

    @TableField("blog_id")
    private Integer blogId;

    @TableField("blog_comment_reply_id")
    private Integer blogCommentReplyId;

    /**
     * 日志回复文字内容
     */
    @TableField("blog_comment_text_content")
    private String blogCommentTextContent;

    /**
     * 日志回复时间
     */
    @TableField("blog_comment_publish_time")
    private LocalDateTime blogCommentPublishTime;

    /**
     * 日志点赞数
     */
    @TableField("blog_comment_agree_num")
    private Integer blogCommentAgreeNum;

    public Integer getBlogCommentId() {
        return blogCommentId;
    }

    public BlogComment setBlogCommentId(Integer blogCommentId) {
        this.blogCommentId = blogCommentId;
        return this;
    }

    public Integer getBlogId() {
        return blogId;
    }

    public BlogComment setBlogId(Integer blogId) {
        this.blogId = blogId;
        return this;
    }

    public Integer getBlogCommentReplyId() {
        return blogCommentReplyId;
    }

    public BlogComment setBlogCommentReplyId(Integer blogCommentReplyId) {
        this.blogCommentReplyId = blogCommentReplyId;
        return this;
    }

    public String getBlogCommentTextContent() {
        return blogCommentTextContent;
    }

    public BlogComment setBlogCommentTextContent(String blogCommentTextContent) {
        this.blogCommentTextContent = blogCommentTextContent;
        return this;
    }

    public LocalDateTime getBlogCommentPublishTime() {
        return blogCommentPublishTime;
    }

    public BlogComment setBlogCommentPublishTime(LocalDateTime blogCommentPublishTime) {
        this.blogCommentPublishTime = blogCommentPublishTime;
        return this;
    }

    public Integer getBlogCommentAgreeNum() {
        return blogCommentAgreeNum;
    }

    public BlogComment setBlogCommentAgreeNum(Integer blogCommentAgreeNum) {
        this.blogCommentAgreeNum = blogCommentAgreeNum;
        return this;
    }

    @Override
    public String toString() {
        return "BlogComment{" +
                "blogCommentId=" + blogCommentId +
                ", blogId=" + blogId +
                ", blogCommentReplyId=" + blogCommentReplyId +
                ", blogCommentTextContent=" + blogCommentTextContent +
                ", blogCommentPublishTime=" + blogCommentPublishTime +
                ", blogCommentAgreeNum=" + blogCommentAgreeNum +
                "}";
    }
}
